//
//  TBRMineSettingBasicCell.m
//  TBRentClient
//
//  Created by tonbright on 2018/4/28.
//  Copyright © 2018年 tonbright. All rights reserved.
//

#import "TBRMineSettingBasicCell.h"
@interface TBRMineSettingBasicCell()

@property (weak, nonatomic) IBOutlet UIButton *btn_title;
@property (weak, nonatomic) IBOutlet UILabel *lbe_detail;

@end
@implementation TBRMineSettingBasicCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setBasicModel:(TBRMineInfoBasicModel *)basicModel {
    _basicModel = basicModel;
    [_btn_title setTitle:basicModel.titleName forState:UIControlStateNormal];
    if (![HelpObject isBlankString:basicModel.imageName]) {
        [_btn_title setImage:[UIImage imageNamed:basicModel.imageName] forState:UIControlStateNormal];
    }else {
        [_btn_title setImage:nil forState:UIControlStateNormal];
    }
    _lbe_detail.text = basicModel.detailName;
}

@end
